import Vue from 'vue'
import Router from 'vue-router'

import agent from '@/components/Agent'
import glogin from '@/components/GenesysLogin'


Vue.use(Router)
import VueSocketIO from 'vue-socket.io'

var router =  new Router({
  routes: [
    {
      path: '/',
      name: 'glogin',
      component: glogin
    },
    {
      path: '/agent',
      name: 'agent',
      component: agent
    },
  ]
})

router.beforeEach(function (to,from,next) {
   next();
})

export default router







